﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="HtmlToPdf.aspx.cs" Inherits="ITextSharpSample.HtmlToPdf" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        网页地址：<asp:TextBox ID="txthttpurl" runat="server" Width="80%"></asp:TextBox>
        <asp:Button ID="btnGen" runat="server" Text="生成" onclick="btnGen_Click" /></ContentTemplate>
        </asp:UpdatePanel>
        <p>此程序只能生成基于UTF-8编码的页面，其它格式的页面中文是乱码</p>
        <br />
 <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
        <iframe id="iframeViewSwf" runat="server" width="100%" height="550px" frameborder="0"></iframe></ContentTemplate>
        </asp:UpdatePanel>
</asp:Content>
